package com.socialuni.common.model.base.RO;

import com.socialuni.common.model.base.DO.CommonUserBaseDO;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author qinkaiyuan 查询结果可以没有set和空构造，前台传值可以没有get
 * @date 2019-08-13 23:34
 */
@Data
@NoArgsConstructor
public class CommonUserRO extends CommonUserNoIdRO {
    private Integer id;

    public CommonUserRO(CommonUserBaseDO userDO) {
        super(userDO);
        this.id = userDO.getId();
    }
}
